home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global bVideoNormal, nVr
- if rollOver(11) then
- if bVideoNormal then
- set sApa to "Fd_Bt_A/2"
- else
- set sApa to "Fd_Bt_A/2"
- end if
- set the member of sprite 11 to member sApa of castLib "elementos graficos"
- puppetSprite(11, 0)
- updateStage()
- set bVideoNormal to not bVideoNormal
- if not bVideoNormal then
- set the visible of sprite 5 to 0
- updateStage()
- set the visible of sprite 5 to 1
- end if
- go("vr" & nVr & bVideoNormal)
- end if
- end
-
- on mouseDown
- global bVideoNormal
- if bVideoNormal then
- set sApa to "Fd_Bt_A/2"
- set sIlu to "Fd_Bt_B/2"
- else
- set sApa to "Fd_Bt_A/2"
- set sIlu to "Fd_Bt_B/2"
- end if
- repeat while the stillDown
- puppetSprite(11, 1)
- if rollOver(11) then
- set the member of sprite 11 to member sIlu of castLib "elementos graficos"
- else
- set the member of sprite 11 to member sApa of castLib "elementos graficos"
- end if
- updateStage()
- end repeat
- end
-